/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package competition.DAO;

import competition.business.AbstractEvent;
import competition.*;
import java.util.List;

/**
 *
 * @author Administrateur
 */
public interface AbstractEventDAO {
    void CreateEvent(AbstractEvent NewEvent);
    void UpdateEvent(AbstractEvent NewEvent);
    void DeleteEvent(AbstractEvent NewEvent);

    List<AbstractEvent> GetAllEvents();
    
    AbstractEvent GetEventByName(String Name);
    List<AbstractEvent> GetEventByDuration(int TimeSpan);
    List<AbstractEvent> GetEventByType(String Type);
}
